package com.tuanzi.loan.business.service.family;

import com.tuanzi.loan.vo.request.distribution.DistributionRecordSearchRequest;
import com.tuanzi.loan.vo.response.distribution.GalaxyCardDistributionRecordSearchResponse;
import com.tuanzi.loan.core.vo.PageSearcher;
import org.springframework.data.domain.Page;

import java.util.Map;

/**
 * 邀请明细统计 ServiceInterface
 * @author JinRuiyang 2018/2/7 17:44:18
 */
public interface DistributionRecordService {

    Map<String, Integer> getProductList();

    Map<String, Integer> getChannelList();

    Map<String, String> getPlatformList();

    Map<String, Long> getDistributionActivity();

    /**
     * DistributionRecord查询
     * @param pageSearcher 请求信息
     * @return 响应列表
     */
    Page<GalaxyCardDistributionRecordSearchResponse> list(PageSearcher<DistributionRecordSearchRequest> pageSearcher);
}
